/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package DTO;

/**
 *
 * @author NGUYEN
 */
public class NHANVIENDTO implements java.io.Serializable{
    private int manv;
    private String password;
    private String tennv;
    private int maloainv;
    private String diachi;
    private String phone;

    /**
     * @return the manv
     */
    public NHANVIENDTO(int manv, String password, String tennv, int maloainv, String diachi, String phone) {
        this.manv = manv;
        this.password = password;
        this.tennv = tennv;
        this.maloainv = maloainv;
        this.diachi = diachi;
        this.phone = phone;
    }

    public NHANVIENDTO() {
        this.maloainv = -1;
        this.password = "";
        this.tennv = "";
        this.maloainv = -1;
        this.diachi = "";
        this.phone = "";
    }

    
    
    
    public int getManv() {
        return manv;
    }

    /**
     * @param manv the manv to set
     */
    public void setManv(int manv) {
        this.manv = manv;
    }

    /**
     * @return the password
     */
    public String getPassword() {
        return password;
    }

    /**
     * @param password the password to set
     */
    public void setPassword(String password) {
        this.password = password;
    }

    /**
     * @return the tennv
     */
    public String getTennv() {
        return tennv;
    }

    /**
     * @param tennv the tennv to set
     */
    public void setTennv(String tennv) {
        this.tennv = tennv;
    }

    /**
     * @return the maloainv
     */
    public int getMaloainv() {
        return maloainv;
    }

    /**
     * @param maloainv the maloainv to set
     */
    public void setMaloainv(int maloainv) {
        this.maloainv = maloainv;
    }

    /**
     * @return the diachi
     */
    public String getDiachi() {
        return diachi;
    }

    /**
     * @param diachi the diachi to set
     */
    public void setDiachi(String diachi) {
        this.diachi = diachi;
    }

    /**
     * @return the phone
     */
    public String getPhone() {
        return phone;
    }

    /**
     * @param phone the phone to set
     */
    public void setPhone(String phone) {
        this.phone = phone;
    }

    public void setPhone(int parseInt) {
        throw new UnsupportedOperationException("Not supported yet."); //To change body of generated methods, choose Tools | Templates.
    }
}
